package com.nail.api.customMake.service;

import com.nail.api.customMake.bean.Indent;
import com.nail.service.IBaseService;
import com.nail.utils.PageResult;

import java.util.Map;

public interface IInDentService extends IBaseService {
    public void addIndent(Indent indent);

    public void deleteIndent(Long userId,String orderId);

    public void updateIndent(Indent indent);
    
    public void setSort(String orderId,Integer sort);
       
    public PageResult getIndentByUserId(Long userId,PageResult pageResult);

    public PageResult getIndentByCondition( PageResult pageResult,Map<String,Object> conditionMap);
    
    public Indent getIndentById(Long userId,String orderId);
    
    public void changeState(Long userId,String orderId,Integer state);
    
    public void setIsDown(String orderId);

    public void changePayState(Long userId,String orderId,Integer payStatus);
}
